package com.car.rental.order.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class EarlyReturnDTO {
    @NotNull(message = "订单编号不能为空")
    private String orderNo;
    
    @NotNull(message = "实际还车时间不能为空")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime actualReturnTime;
} 